<!-- Columns -->
<div id="cols" class="box"> 

    <!-- Aside (Left Column) -->
    <div id="aside" class="box">
        <div class="padding box"> 

            <!-- Logo (Max. width = 200px) -->
            <p id="logo"><a href="#"><?php echo $this->Html->image('logo.gif', array('alt' => 'logo')) ?></a></p>

            <!-- Search -->
            <form action="#" method="get" id="search">
                <fieldset>
                    <legend>Busqueda</legend>
                    <p>
                        <input type="text" size="17" name="" class="input-text" />
                        &nbsp;
                        <input type="submit" value="BUSCAR" class="input-submit-02" />
                   <!-- /search-options -->
                </fieldset>
            </form>
        </div>
        <!-- /padding -->

        <ul class="box">
            <li id="submenu-active"><a href="#">LISTA CLIENTES</a></li>
            <li><?php echo $this->Html->link('REGISTRAR CLIENTE', array('action' => 'insertar')); ?></li>
            <li><a href="#">IMPRIMIR LISTA CLIENTES</a></li>
        </ul>
    </div>
    <!-- /aside -->
    <hr class="noscreen" />
    <!-- Content (Right Column) -->
    <div id="content" class="box">
        <h1>CLIENTES</h1>
        <table>
            <tr>
                <th>Nro</th>
                <th>Nombre</th>
                <th>Tel&eacute;fono</th>
                <th>Celular</th>
                <th>Acci&oacute;n</th>             
            </tr>   
            <?php  $i = 1;  ?>
            <?php $i=1; foreach ($clientes as $cli): ?>
            <?php if($cli['Cliente']['id']!=1):?>
                    <td><?php echo $i; $i++; ?></td>
                    <td><?php echo $cli['Cliente']['nombre']; ?></td>
                    <td><?php echo $cli['Cliente']['telefono']; ?></td>
                    <td><?php echo $cli['Cliente']['celular']; ?></td>
                    <td style="font-size:10px;">
                        <?php echo $this->Html->link('EDITAR',array('action' => 'editar', $cli['Cliente']['id']), array('class' => 'inner_a')); ?>&nbsp;

                 <?php echo $this->Html->link('ELIMINAR',array('action'=>'eliminar',$cli['Cliente']['id']),array('class' => 'inner_a'),('Desea realmente eliminar?')); ?>                        
                    </td>
                </tr>
            <?php endif;?>  
            <?php endforeach; ?>

        </table>

    </div>
    <!-- /content --> 

</div>
<!-- /cols -->
